package cn.iocoder.yudao.module.recycl.controller.admin.collector.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;

@Schema(description = "管理后台 - 回收人员 Response VO")
@Data
@ExcelIgnoreUnannotated
public class CollectorRespVO {

    @Schema(description = "回收人员编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "13808")
    @ExcelProperty("回收人员编号")
    private Long id;

    @Schema(description = "回收人员姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @ExcelProperty("回收人员姓名")
    private String name;

    @Schema(description = "联系方式")
    @ExcelProperty("联系方式")
    private String phone;

    @Schema(description = "性别")
    @ExcelProperty(value = "性别", converter = DictConvert.class)
    @DictFormat("system_user_sex") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private Integer gender;

    @Schema(description = "状态（1在岗 0停用）", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("状态（1在岗 0停用）")
    private Integer status;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}